using System;
using System.Data;
using System.Collections;

namespace APP.QUANLY.Entity.ConditionForm
{
    /// <summary>
    /// Summary description for CA.
   /// </summary>
    public class CAConditionForm
    {

        #region Fields
      private Int32 _MACA;
      private Int32 _MANHANVIEN;
      private DateTime _NGAYBATDAU;
      private DateTime _NGAYKETTHUC;
      private string _GHICHU;
      private bool _BATDAUCA;
      private HOADONNHAPKHOList _listHOADONNHAPKHO;
      private HOADONXUATKHOList _listHOADONXUATKHO;
      private PHIEUCHIList _listPHIEUCHI;
      private PHIEUTHUList _listPHIEUTHU;
        #endregion

        #region Properties
	public bool IsSetMACA;  
    public bool IsMACANullable
      { get { return false;  } }
      public Int32 MACA
      {
         get { return _MACA; }
         set { 
		_MACA = value; 
		IsSetMACA = true;
		}
      }
	public bool IsSetMANHANVIEN;
	public bool IsMANHANVIENNullable
      { get { return true;  } }
      public Int32 MANHANVIEN
      {
         get { return _MANHANVIEN;  }
         set { 
		_MANHANVIEN = value; 
		IsSetMANHANVIEN = true;
		}
      }
	public bool IsSetNGAYBATDAU;
	public bool IsNGAYBATDAUNullable
      { get { return true;  } }
      public DateTime NGAYBATDAU
      {
         get { return _NGAYBATDAU;  }
         set { 
		_NGAYBATDAU = value; 
		IsSetNGAYBATDAU = true;
		}
      }
	public bool IsSetNGAYKETTHUC;
	public bool IsNGAYKETTHUCNullable
      { get { return true;  } }
      public DateTime NGAYKETTHUC
      {
         get { return _NGAYKETTHUC;  }
         set { 
		_NGAYKETTHUC = value; 
		IsSetNGAYKETTHUC = true;
		}
      }
	public bool IsSetGHICHU;
	public bool IsGHICHUNullable
      { get { return true;  } }
      public string GHICHU
      {
         get { return _GHICHU;  }
         set { 
		_GHICHU = value; 
		IsSetGHICHU = true;
		}
      }
	public bool IsSetBATDAUCA;
	public bool IsBATDAUCANullable
      { get { return true;  } }
      public bool BATDAUCA
      {
         get { return _BATDAUCA;  }
         set { 
		_BATDAUCA = value; 
		IsSetBATDAUCA = true;
		}
      }
      public HOADONNHAPKHOList HOADONNHAPKHOList
      { get { return _listHOADONNHAPKHO; } }
      public HOADONXUATKHOList HOADONXUATKHOList
      { get { return _listHOADONXUATKHO; } }
      public PHIEUCHIList PHIEUCHIList
      { get { return _listPHIEUCHI; } }
      public PHIEUTHUList PHIEUTHUList
      { get { return _listPHIEUTHU; } }
        #endregion

        #region Constructors
        public CAConditionForm()
        {
         Reset();
        }
        #endregion

        public void Reset()
        {
            	 _MACA = EmptyValues.v_Int32;
	IsSetMACA = false;
	 _MANHANVIEN = EmptyValues.v_Int32;
	IsSetMANHANVIEN = false;
	 _NGAYBATDAU = EmptyValues.v_DateTime;
	IsSetNGAYBATDAU = false;
	 _NGAYKETTHUC = EmptyValues.v_DateTime;
	IsSetNGAYKETTHUC = false;
	 _GHICHU = EmptyValues.v_string;
	IsSetGHICHU = false;
	 _BATDAUCA = EmptyValues.v_bool;
	IsSetBATDAUCA = false;
         _listHOADONNHAPKHO = new HOADONNHAPKHOList();
         _listHOADONXUATKHO = new HOADONXUATKHOList();
         _listPHIEUCHI = new PHIEUCHIList();
         _listPHIEUTHU = new PHIEUTHUList();
        }
    }
}